package com.start.common.constant;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

public interface StartConstant {
    String ROLE_KEY = "role_";
    PasswordEncoder passwordEncoder = new BCryptPasswordEncoder();


    interface DataRule {
        String key = "start_data_rule_key";
        String userContextKey = "start_user_context_key";
        String rulesKey = "start_data_rule_info_key";
    }

    interface LogType {
        int USER_REQUEST = 0;
        int SYSTEM = 1;
        int TIMING = 2;
        int USER_LOGIN = -1;
        int USER_LOGIN_OUT = -2;
    }

    interface MBP_SCRIPT {
        String START = "<script>";
        String END = "</script>";
    }


    interface ClientUserType {
        String ADMIN_USER = "admin_user";
        String PLATFORM_USER = "platform_user";
    }


}
